<template>
	<view>
		<swiper :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000" vertical>
			<swiper-item>
				<view class="swiper-item a">
					<image class="img" src="../../static/banner/1.jpeg" mode=" scaleToFill"></image>
				</view>
			</swiper-item>
			<swiper-item>
				<view class="swiper-item b">
					<image  class="img"  src="../../static/banner/2.jpeg" mode="scaleToFill"></image>
				</view>
			</swiper-item>
		</swiper>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style scoped>
	.swiper-item {
	/* 	height: 250rpx; */
	}
	.swiper-item>.img{
		width:100%;
	}

	.a {
		/* background-color: red; */
	}

	.b {
		/* background-color: blue; */
	}
</style>
